//
//  CarContrastConsequenceViewModel.h
//  CarUser
//
//  Created by ayi on 2019/1/23.
//  Copyright © 2019 王森林. All rights reserved.
//
typedef enum : NSUInteger {
    Consequence_CellType_Header = 1,
    Consequence_CellType_Cell_Lab,
    Consequence_CellType_Cell
} Consequence_CellType;


#import "TabviewViewModel.h"

#import "CarConfigurationModel.h"
#import "CarDetailViewModel.h"

@interface CarContrastConsequenceViewModel : TabviewViewModel

- (void)resetListAry:(NSArray *)listAry;

@end




@class CarConsequenceChildModel;
@interface CarConsequenceModel : NSObject

@property (nonatomic, strong) NSString *title;
@property (nonatomic, assign) Consequence_CellType type;
@property (nonatomic, strong) NSMutableArray<CarConsequenceChildModel *> *childModelList;
@property (nonatomic, strong) NSMutableArray<CarConsequenceChildModel *> *childModelHiddenList;

@end



@interface CarConsequenceChildModel : NSObject

@property (nonatomic, strong) NSString *title;
@property (nonatomic, assign) Consequence_CellType type;

@property (nonatomic, strong) NSString *customTitle1;
@property (nonatomic, strong) NSString *customTitle2;

@property (nonatomic, strong) CarConfigurationModel *leftModel;
@property (nonatomic, strong) CarConfigurationModel *rightModel;


@property (nonatomic, assign) NSInteger anchorIndex;//锚点


@end
